package com.gery.tn.backend.service.ini;

import com.gery.tn.backend.service.ClientService;
import com.gery.tn.backend.service.DAOFactory;
import com.gery.tn.backend.service.AppointmentService;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;



public class IniDAOService extends DAOFactory {

    @Override
    public ClientService getClientService() {
        try {
            return new IniClientService();
        } catch (IOException ex) {
            Logger.getLogger(IniDAOService.class.getName()).log(Level.SEVERE, null, ex);
            return null;
        }
    }

    @Override
    public AppointmentService getAppointmentService() {
        try {
            return new IniAppointmentService();
        } catch (IOException ex) {
            Logger.getLogger(IniDAOService.class.getName()).log(Level.SEVERE, null, ex);
            return null;
        }
    }
    
}
